package com.datuo.dtf.admin;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import tk.mybatis.spring.annotation.MapperScan;

@Slf4j
@MapperScan(basePackages = "com.datuo.dtf.mapper")
@SpringBootApplication
public class DtfAdminApplication implements CommandLineRunner {

    public static void main(String[] args) {
        SpringApplication.run(DtfAdminApplication.class, args);
    }

    @Override
    public void run(String... args){
        log.info("服务启动完成!");
    }
}
